#include "curriculum.h"
#include "logger.h"

using namespace std;
Curriculum::Curriculum()
{
	Logger::instance()->message( "New curriculum, default constructor", 9);

}


Curriculum::~Curriculum()
{
	Logger::instance()->message( "Curriculum destroyed" , 9 );

}
void Curriculum::description (const std::string& n)
{
	name = n;
}
std::string Curriculum::description () const
{
	return name;
}
void Curriculum::push_back_core( boost::shared_ptr<Course> core )
{
	vcore.push_back(core);
}
void Curriculum::push_back_elective( boost::shared_ptr<Course> elective )
{
	velective.push_back(elective);
}
void Curriculum::elective_credits(double i)
{icredits=i;}
double Curriculum::elective_credits()const
{
	return icredits;
}
